<script setup lang="ts">
import {ref, Ref} from "vue";

const count: Ref<number> = ref<number>(0)
const handleAdd: () => void = (): void => {
  count.value++
}
</script>

<template>
  <div class="app">
    <h1>{{ count}}</h1>
    <button @click="handleAdd"></button>
  </div>
</template>

<style scoped>

</style>
